<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.prime.com.tr/ui">

<h:body>

	<p:panel header="Dados de Contato">



		<h:panelGrid columns="1" columnClasses="label, value">
			<h:outputText value="Email: *" />
			<h:panelGrid columns="2">
				<p:inputText id="email" required="true" label="Necessario preencher"
					value="#{empresaAction.empresa.email}" size="30" />
				<p:message for="email" display="icon" /> 
			</h:panelGrid>


			<h:outputLabel value="Telefone Comercial 1:*" />
			<h:panelGrid columns="2">
				<p:inputMask mask="(99)9999-9999"
					value="#{empresaAction.empresa.telefoneResidencial}" size="10"
					id="telefone1" 
					label="Necessario preencher"
					required="true" />
				<p:message for="telefone1" display="icon" /> 
			</h:panelGrid>


			<h:outputLabel value="Telefone Comercial 2:*" />
			<h:panelGrid columns="2">
				<p:inputMask mask="(99)9999-9999"
					value="#{empresaAction.empresa.telefoneComercial}" size="10"
					required="true" id="telefone2" label="Necessario preencher" />
				<p:message for="telefone2" display="icon" /> 
			</h:panelGrid>
		</h:panelGrid>
	</p:panel>



</h:body>
</html>